//
//NoticeSearchBarView.js
//

import React, { Component } from 'react'
import {
  View,
  TouchableWithoutFeedback,
  StyleSheet,
  TextInput,
  Text
} from 'react-native'


export default class  NoticeSearchBarView  extends  Component {

  render() {
    return(
      <View style={[this.props.style]}>
        <TextInput placeholder='搜索通知' style={styles.input}/>
        <TouchableWithoutFeedback>
          <View style={{width:44,justifyContent:'center'}}>
            <Text style={{color:'white',backgroundColor:'#00000000',alignSelf:'center'}}>搜索</Text>
          </View>
        </TouchableWithoutFeedback>
      </View>
    )
  }
};

const styles = StyleSheet.create({
  input: {
    fontSize:14,
    flexGrow:1,
    backgroundColor:'white',
    marginRight:6,
    borderRadius:3,
  }
});
